<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://ckeditor.com" prefix="ckeditor"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="request"/>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="<c:url value='/resources/styles/main.css' />" type="text/css"/>
    <link type="text/css" rel="stylesheet" href="<c:url value='/resources/ckeditor/_samples/sample.css' />" />
    <script type="text/javascript" src="<c:url value='/resources/scripts/datePicker/WdatePicker.js' />"></script>
    <script type="text/javascript">
        var contextPath = '${ctx}/';
    </script>
    <title>会议添加</title>
</head>
<body>

<table class="pagination" style="padding-left: 70px;">
    <tr>
        <td>
            <a href="<c:url value='/admin/session/listSession.do' />">返回会议列表</a>
        </td>
    </tr>
</table>
<form id="addSession" name="addSession" enctype="multipart/form-data" action="<c:url value='/admin/session/addSessionAction.do' />" method="post">

    序号：<input type="text" id="seq" name="seq" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </br>经度：<input type="text" id="longitude" name="longitude"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
纬度：    <input type="text" id="latitude" name="latitude"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </br>
会议坐标名称：<input type="text" id="coordName" name="coordName"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
会议坐标地址：<input type="text" id="coordAddr" name="coordAddr"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </br>

    酒店名称：<input type="text" id="hotelName" name="hotelName"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    酒店地址：    <input type="text" id="hotelAddr" name="hotelAddr"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    联系电话：<input type="text" id="hotelOther" name="hotelOther"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </br>
    酒店图片：<input type="file" id="filePic" name="filePic"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </br>

    会议日期：&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" id="day" name="day"  class="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd ', readOnly:true})"/>
    &nbsp;&nbsp;&nbsp;&nbsp;
    会议时段：
    <select id="section" name="section">
        <option value="am">上午</option>
        <option value="noon">中午</option>
        <option value="pm">下午</option>
        <option value="night">晚上</option>
    </select>

    </br>
     标题(仅管理界面可见)：<input type="text" id="title" name="title" /></br>

    分组名称(A): &nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="groupNameFirst" name="groupNameFirst"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    分组名称(B): &nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="groupNameLast" name="groupNameLast"/>

<textarea id='content' name='content'  cols="80" rows="10"></textarea>
    <%--<ckeditor:replace  replace="content" basePath="../resources/ckeditor/" /> </br>--%>
    <ckeditor:replace  replace="content" basePath="${ctx}/resources/ckeditor/" /> </br>
    <input type="hidden" id='type' name='type' value='session' />
    <input type='submit' value="提交" />
    </form>
</body>
</html>